<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
	<title>Bootstrap</title>

    <!-- Bootstrap -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <script src="../js/jquery-1.11.3.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
  </head>
  <body>
    <form class="form-horizontal">
	  <div class="form-group has-error">
		<label class="col-sm-2 control-label">用户名</label>
		<div class="col-sm-5">
		  <input type="text" class="form-control" placeholder="请输入用户名">
		</div>
	  </div>
	  <div class="form-group has-success">
		<label class="col-sm-2 control-label">密码</label>
		<div class="col-sm-5">
		  <input type="password" class="form-control" id="inputPassword3" placeholder="请输入密码">
		</div>
	  </div> 
	  <div class="form-group">
		<div class="col-sm-offset-2 col-sm-10">
		  <input type="submit" class="btn btn-default" value="提交"/>
		</div> 
	  </div>
	</form>
  </body>
</html>